<!DOCTYPE html>
<html lang="zh-CN">
<head>

    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>文创产品网站 - 首页</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css">
    <style>
      .carousel-item img {
            width: 100%;
            height: 400px;
            object-fit: cover;
        }
      .product-card {
            margin-bottom: 30px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
            overflow: hidden;
        }
      .product-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }
      .product-card-body {
            padding: 20px;
        }
    </style>
</head>
<body>
    <nav class="navbar navbar-expand-lg navbar-light bg-light">
        <div class="container">
            <a class="navbar-brand" href="#">文创天地</a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
                    aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav">
                    <li class="nav-item">
                        <a class="nav-link" href="index.html">首页</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="list.html">产品列表</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="content.html">产品详情</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="form.html">咨询反馈</a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>

    <div id="carouselExampleControls" class="carousel slide" data-bs-ride="carousel">
        <div class="carousel-inner">
            <div class="carousel-item active">
                <img src="https://img.shetu66.com/2023/12/20/1703061729006043.png" alt="文创产品1">
                <div class="carousel-caption d-none d-md-block">
                    <h5>精美书签</h5>
                    <p>独特设计，让阅读更有韵味。</p>
                </div>
            </div>
            <div class="carousel-item">
                <img src="https://cbu01.alicdn.com/img/ibank/O1CN01Yo0wgy1XAv2A9g5dt_!!965122884-0-cib.jpg" class="d-block w-100" alt="文创产品2">
                <div class="carousel-caption d-none d-md-block">
                    <h5>创意摆件</h5>
                    <p>为生活空间增添艺术气息。</p>
                </div>
            </div>
        </div>
        <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleControls"
                data-bs-slide="prev">
            <span class="carousel-control-prev-icon" aria-hidden="true"></span>
            <span class="visually-hidden">Previous</span>
        </button>
        <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleControls"
                data-bs-slide="next">
            <span class="carousel-control-next-icon" aria-hidden="true"></span>
            <span class="visually-hidden">Next</span>
        </button>
    </div>

    <div class="container my-5">
        <h2 class="text-center mb-4">热门文创产品推荐</h2>
        <div class="row">
            <div class="col-md-4">
                <div class="product-card">
                    <img src="https://img.alicdn.com/i4/1785595237/O1CN01tAtbMl1oYauwoqI3R_!!1785595237.jpg" alt="文创产品3">
                    <div class="product-card-body">
                        <h5>古风笔记本</h5>
                        <p>采用传统工艺制作，封面精美，内页书写顺滑。</p>
                    </div>
                </div>
            </div>
            <div class="col-md-4">
                <div class="product-card">
                    <img src="https://img.alicdn.com/bao/uploaded/i2/2212403829413/O1CN01TmqMN62JPCurErdmu_!!0-item_pic.jpg" alt="文创产品4">
                    <div class="product-card-body">
                        <h5>创意手机壳</h5>
                        <p>融合时尚与文化元素，保护手机的同时彰显个性。</p>
                    </div>
                </div>
            </div>
            <div class="col-md-4">
                <div class="product-card">
                    <img src="https://img.alicdn.com/imgextra/i2/1752791575/O1CN01acbrET1NVOh5mA4RP_!!1752791575.jpg" alt="文创产品5">
                    <div class="product-card-body">
                        <h5>艺术帆布袋</h5>
                        <p>环保材质，图案独特，是出行的时尚之选。</p>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="container my-5 text-center">
        <h2>探索更多文创好物</h2>
        <!-- 添加跳转到产品列表页的链接 -->
        <a href="list.html" class="btn btn-primary mt-3">查看产品列表</a>
    </div>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>